.ant-btn-primary {
  color: #fff !important;
  border-color: #1890ff;
  background: #1890ff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
}

.ant-pagination {
  padding-right: 16px !important;
}

.ant-pagination-item-link {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.ant-btn {
  border-radius: 4px;
  outline: none !important;
  // font-size: var(--rootFontSize) !important;
}

.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
  outline: none;
  border-color: transparent;
}

.ant-tabs-top>.ant-tabs-nav::before {
  border-color: transparent !important;
}

.ant-pagination {
  height: 32px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.ant-pagination-item,
.ant-pagination-prev,
.ant-pagination-next {
  width: 32px;
  height: 100%;
}

.ant-pagination-item-active {
  border: none !important;
  background: #F8FBFF !important;

}

.ant-pagination-item-active a {
  color: #1758F0 !important;
}

.ant-table-thead {
  background: #F2F3F5;
}

.ant-table-thead .ant-table-cell {
  border-bottom: 1px solid #E5E6EB;
  font-weight: 700;
}

// .ant-table-cell {
//   text-align: center !important;
// }


.ant-picker-range {
  height: 32px;
}

.ant-picker-input input {
  font-size: 11px !important;
  color: #8c8c8c !important;
}

.ant-select:not(.ant-select-customize-input) .ant-select-selector {
  background-color: transparent !important;
}

.ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
  background-color: transparent !important;
}

.ant-pagination.mini .ant-pagination-jump-prev,
.ant-pagination.mini .ant-pagination-jump-next {
  display: flex;
  justify-content: center;
  align-items: center;
}



// .ant-tabs-content-holder::-webkit-scrollbar {
//   width: 6px;
// }

// /* 滚动槽 */
// .ant-tabs-content-holder::-webkit-scrollbar-track {
//   -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.3);
//   border-radius: 10px;
// }

// /* 滚动条滑块 */
// .ant-tabs-content-holder::-webkit-scrollbar-thumb {
//   border-radius: 10px;
//   background: rgba(0, 0, 0, 0.1);
//   -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
// }

// .ant-tabs-content-holder::-webkit-scrollbar-thumb:window-inactive {
//   background: #ccc;
// }

.ant-modal {
  border-radius: 4px !important;
  padding-bottom: 0 !important;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;

  .ant-modal-content {
    height: 100%;

    .ant-modal-body {
      padding: 0 !important;
      padding-top: 0px !important;
    }
  }

  .ant-modal-footer {
    height: 50px;
    display: flex;
    padding: 0 !important;
    margin: 0;

    .ant-form-item-control-input {
      height: 100%;

      .ant-form-item-control-input-content {
        height: 100%;
        display: flex;
      }
    }

    .ant-btn {
      flex: 1;
      height: 100%;
      border-radius: 0 !important;
      margin: 0 !important;
    }

    .ant-btn:first-child {
      span {
        color: #1758F0;
      }
    }

    .ant-btn:last-child {

      background-color: #1758F0;

      span {
        color: #fff
      }
    }
  }
}

.ant-picker-input>input {
  font-size: 14px !important;
  color: #293035 !important;
}

.ant-picker-separator {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

// .ant-spin-nested-loading {
//   height: 100%;

//   .ant-spin-container {
//     height: 100%;
//     display: flex;
//     flex-direction: column;
//     .ant-table {
//       width: 100%;
//       flex: 1;
//     }
//   }
// }

.ant-menu-submenu-arrow,
.ant-menu-submenu-arrow::after,
.ant-menu-submenu-arrow::before {
  color: currentColor
}

.ant-menu-sub.ant-menu-inline {
  background-color: transparent !important;
}

.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
  border-radius: 2px;
}

.ant-menu-vertical .ant-menu-item::after,
.ant-menu-vertical-left .ant-menu-item::after,
.ant-menu-vertical-right .ant-menu-item::after,
.ant-menu-inline .ant-menu-item::after {
  border: none !important;
}

.ant-menu.ant-menu-dark,
.ant-menu-dark .ant-menu-sub,
.ant-menu.ant-menu-dark .ant-menu-sub {
  background: #1a2042 !important;
}

.ant-tabs-top>.ant-tabs-nav,
.ant-tabs-bottom>.ant-tabs-nav,
.ant-tabs-top>div>.ant-tabs-nav,
.ant-tabs-bottom>div>.ant-tabs-nav {
  margin-bottom: 0 !important;
}

.el-steps.el-steps-dashed {
  .el-step {
    .el-step__line {
      background-color: #fafbfd;

      .el-step__line-inner {
        width: 100%;
        height: 0;
        border-color: #f3f4f5;
        border-style: dashed;
      }
    }

    .is-finish {
      .el-step__line {
        .el-step__line-inner {
          border-color: #1890ff;
          border-style: solid;
          width: 100% !important;
          border-width: 1px !important;
        }
      }
    }
  }
}

.el-timeline.el-custom {
  .el-timeline-item {
    .el-timeline-item__tail {
      border-width: 1px;
      border-style: dashed;
      border-color: #f3f4f5;
    }

    .el-timeline-item__node {
      background-color: #3998f7;
      width: 8px;
      height: 8px;
      left: 1px;
    }
  }
}

.custom-table {
  .ant-table-container {
    .ant-table-content {
      .ant-table-thead {
        .ant-table-cell {
          color: #a296a5;
          font-size: 12px;

        }
      }

      .ant-table-tbody {
        .ant-table-cell {
          padding: 0 !important;
        }
      }
    }
  }
}


.custom-modal {
  .ant-modal-content {
    .ant-modal-header {
      background: #f5f6f6;
    }
  }
}

.ant-drawer {
  .ant-drawer-body {
    padding: 0;
  }
}

.custom-form {
  .custom-formItem-noColon {
    .ant-form-item-label>label::after {
      content: '';
    }
  }
}

.ant-form-item-label {
  >label::before {
    width: 7.203px;
    margin-right: 4px;
    content: '';
  }
}

.custom-drawerContent {
  *::-webkit-scrollbar {
    display: none;
    width: 0px !important;
    height: 0px !important;
  }

  *::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
  }

  *::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
  }

  *::-webkit-scrollbar-thumb:window-inactive {
    background: #ccc;
  }
}

.custom-radio {
  .ant-checkbox-inner {
    border-radius: 9999px;
  }

  .ant-checkbox:hover {
    border-color: transparent !important;
  }
}

.anticon {
  vertical-align: middle;
}

table {
  .ant-checkbox-inner::after {
    display: inline-block !important;
  }
}

#CBCMenu {
  background: transparent;
}

.el-step__icon,
.el-step__icon.is-icon {
  width: 28px !important;
}